package com.tensquare.recruit.dao;

import com.tensquare.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author zzb
 * @create 2021/2/21
 */
public interface EnterpriseDao extends JpaRepository<Enterprise,String> {
    //查询热门企业
    //自定义方法会写生类似的sql：select * from enterprise where ishot = ？
     List<Enterprise> findByIshot(String ishot);
}
